import axios from "./index"

export const getBookList = (current, pageSize) =>
  axios({
    url: "/books/list",
    method: "GET",
    params: {
      current,
      pageSize,
    },
  })
